﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="BookPage_1.aspx.cs" Inherits="FilmManagement2.WebPage.BookPage_1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <style type="text/css" >
        #form1
        {
            width:900px;
            height:550px;
            margin:40px 40px 40px 40px;
        }
    #top
    {
   
     height:100px;    
    }
    #top #top_l
    {
        width:600px; 
          height:100px;   
        float:left;
        background-color:Silver;
        font-size:69px;
        color:Blue;
        
    }
    #top #top_r
    {
        margin-left:1px;
         width:298px;
         height:100px;  
          float:left; 
        background-color:Yellow;
            
    }
 

    #left
    {
        width:148px;
        float:left;
        height:448px;
          border-top:1px solid black;
        border-bottom:1px solid black;
        border-left:1px solid black;
        border-right:1px solid black;
        background-color:Silver;   
    }
    #left_book
    {
        border-bottom:1px solid black;
        width:148px;
        height:80px; 
  
    }
    #left_sug
    {
         border-bottom:1px solid black;
        width:148px;
        height:80px;
     }
    #right
    {
        height:448px;
        margin-left:1px;
        width:746px;
        float:left;
       background-color:Silver;
       border:1px solid gray;
        }
        #right1
        {
            height:448px;
            border-right:1px solid gray;
        width:370px;
        float:left;
        }  
        #right1_1
        {
         height:200px;
         width:370px; 
         border-bottom:1px solid gray;   
        }    
           #right1_2
        {
         height:222px;
         width:370px; 
           
        }  
            #right1_1_list
            {
             margin:40px 90px;    
                
            }
            #right1_2_list
            {
               margin:20px 90px; 
            }
             #right2
        {
            height:448px;
        margin-left:1px;
        width:370px;
        float:left;
            
            }
            #right2_1
            {
                height:350px;
                width:370px;    
            }
            #right2_1_img
            {
             margin:20px 20px;    
            }
            #right2_2
            {
                width:370px;
                height:92px;    
            }
            #right2_2_lbl
            {
                width:180px;
                height:88px;
                 margin:0px 50px;    
                 font-weight:bold;
                  float:left;
            }
            #right2_2_but
            {
                width:50px;
                height:88px;
                 float:left;   
                 margin:5px 0px;
            }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div id="top">
    <div id="top_l">
    <b>OOXX电影院欢迎您</b>
    </div>
    <div id="top_r">
<div id="top_r_1"> 
       <asp:Button id="admin"  runat="server" Text="Admin" Font-Bold="True" 
            Font-Size="X-Small" BackColor="#999966" ForeColor="#CC0099" 
            onclick="admin_Click" Height="29px" Width="61px" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
       <asp:Button ID="hombut" runat="server" Text="Home" Font-Bold="True" 
            Font-Size="X-Small" BackColor="#999966" ForeColor="#CC0099" 
             Height="29px" Width="61px" onclick="hombut_Click" />
        </div>
       <div id="top_r_2">
       <asp:Label ID="accountlbl" runat="server" Text="Account:" Visible="False"></asp:Label>
            <asp:TextBox ID="txtAccount" runat="server" Visible="False"></asp:TextBox>
            </div>
        <div id="top_r_3">
         <asp:Label ID="passwordlbl" runat="server" Text="Password:" Visible="False"></asp:Label>
         <asp:TextBox ID="txtPassword" runat="server" TextMode="Password" Visible="False"></asp:TextBox>
        </div>
        

        <asp:Button id="submit" runat="server" Text="Submit" BackColor="#999966" 
            Font-Size="X-Small" ForeColor="#CC0099" Visible="False" Height="26px" 
            Width="62px" onclick="submit_Click" />
    </div>
    </div>

    <div id="left">
    <div id="left_book"> 
        <asp:Button ID="bookticketbut" runat="server" 
            Text="Book Ticket" Font-Bold="True" Font-Size="X-Large" Height="79px" 
            Width="148px" onclick="bookticketbut_Click" /></div>
       
    <div id="left_sug"><asp:Button ID="suggestbut"  runat="server" Text="Suggestion" 
            Font-Bold="True" Font-Size="X-Large" Height="79px" 
            Width="148px" onclick="suggestbut_Click" /></div>
    </div>
   
    <div id="right">
    <div id="right1">
    <div id="right1_1">
    片名：
       <div id="right1_1_list">
       
       <asp:ListBox ID="FilmNameList" runat="server" Height="142px" Width="90px" 
               AutoPostBack="True" DataSourceID="SqlDataSource1" DataTextField="FilmName" 
               DataValueField="FilmId" 
               onselectedindexchanged="FilmNameList_SelectedIndexChanged"></asp:ListBox>
           <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
               ConnectionString="<%$ ConnectionStrings:FilmManageMent2ConnectionString %>" 
               SelectCommand="SELECT [FilmId], [FilmName] FROM [Film]"></asp:SqlDataSource>
           
         
           
        </div> 
    </div>
    <div id="right1_2">
    开始时间：
    <div id="right1_2_list">
    <asp:ListBox ID="FilmDateList" runat="server" Height="142px" Width="163px" 
            AutoPostBack="True"></asp:ListBox>
     </div>
    </div>

    </div>
    <div id="right2">
    <div id="right2_1">
    <div id="right2_1_img">
        <asp:Image ID="Image1" Height="300px"  Width="320px"  runat="server" />
    </div>
    </div>
    <div id="right2_2">
    <div id="right2_2_lbl">
        <asp:Label ID="pricelbl1" runat="server" Text="Price:"></asp:Label>
        <asp:Label ID="pricelbl2" runat="server" Text="Label2"></asp:Label>
    
    </div>
    <div id="right2_2_but">
        <asp:Button ID="GoToBookPage_2" runat="server" Text="GO=>" Height="27px" 
            Width="59px" onclick="GoToBookPage_2_Click" />
    </div>
    </div>
    </div>
    </div>
    </form>
</body>
</html>

